package top.arryweb.application.common.constant;

import lombok.AllArgsConstructor;

/**
 * redis的ke映射
 *
 * @author xiong04
 * @since 2021-05-14
 */
@AllArgsConstructor
public enum KeyName {

	IDS_ORDER_DIS(1, "Ids-Order-DistributionOrder", "订单id对分账订单的id映射"),

	IDS_ORDER_TRADE(2, "Ids-Order-TradeBlotter", "订单对交易流水的id映射"),

	ENTITY_ORDER(3, "IdEntity-Order", "订单id实体映射"),

	ENTITY_DISTRIBUTION_ORDER(4, "IdEntity-DistributionOrder", "分账订单id实体映射"),

	ENTITY_TRADE_BLOTTER(5, "Ids-TradeBlotter", "交易流水映射"),

	IDS_ORDER_CAPITAL(6, "Ids-Order-Capital", "订单流水和资金流水的id映射"),

	IDS_TRADE_CAPITAL(7, "Ids-Trade-Capital", "交易流水与资金流水的id映射"),

	ENTITY_CAPITAL(8, "IdEntity-Capital", "资金流水的id实体映射"),

	ENTITY_CAPITAL_DAILY_TYPE(9, "IdEntity-CapitalDailyType", "收益类型的id实体映射");


	private Integer rank;

	private String name;

	private String remark;

	public Integer getRank() {
		return rank;
	}

	public KeyName setRank(Integer rank) {
		this.rank = rank;
		return this;
	}

	public String getName() {
		return name;
	}

	public KeyName setName(String name) {
		this.name = name;
		return this;
	}

	public String getRemark() {
		return remark;
	}

	public KeyName setRemark(String remark) {
		this.remark = remark;
		return this;
	}
}
